package com.chf.job.pojo;

import java.util.Date;

public class User {
    /** 用户自增主键 */
    private Integer userId;

    /** 用户登录邮箱 */
    private String email;

    /** 登录密码MD5加密 */
    private String password;

    /** 姓名 */
    private String name;

    /** 性别 */
    private String gender;

    /** 手机号 */
    private Long phone;

    /** 1-未激活  2-已激活  */
    private Integer status;

    /** 1-管理员用户   2-普通用户  3-企业用户 */
    private Integer type;

    /** 验证码 */
    private String verifyCode;

    /** 头像地址 */
    private String imgUrl;

    /** 学历 */
    private Integer education;

    /** 工作经验  */
    private Integer experience;

    /** 目前状态 */
    private Integer currentState;

    /** 自我描述 */
    private String myDesc;

    /** 期望工作 */
    private Integer expectedWork;

    /** 项目经验 */
    private Integer projectExperience;

    /** 教育背景 */
    private Integer edcBgd;

    /** 我的收藏 */
    private String myCollection;

    /** 我的订阅 */
    private String mySubsc;

    /** 最近一次登录时间 */
    private Date loginTime;

    /** 创建时间 */
    private Date createTime;

    /** 更新时间 */
    private Date updateTime;

    public User(Integer userId, String email, String password, String name, String gender, Long phone, Integer status, Integer type, String verifyCode, String imgUrl, Integer education, Integer experience, Integer currentState, String myDesc, Integer expectedWork, Integer projectExperience, Integer edcBgd, String myCollection, String mySubsc, Date loginTime, Date createTime, Date updateTime) {
        this.userId = userId;
        this.email = email;
        this.password = password;
        this.name = name;
        this.gender = gender;
        this.phone = phone;
        this.status = status;
        this.type = type;
        this.verifyCode = verifyCode;
        this.imgUrl = imgUrl;
        this.education = education;
        this.experience = experience;
        this.currentState = currentState;
        this.myDesc = myDesc;
        this.expectedWork = expectedWork;
        this.projectExperience = projectExperience;
        this.edcBgd = edcBgd;
        this.myCollection = myCollection;
        this.mySubsc = mySubsc;
        this.loginTime = loginTime;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public User() {
        super();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender == null ? null : gender.trim();
    }

    public Long getPhone() {
        return phone;
    }

    public void setPhone(Long phone) {
        this.phone = phone;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getVerifyCode() {
        return verifyCode;
    }

    public void setVerifyCode(String verifyCode) {
        this.verifyCode = verifyCode == null ? null : verifyCode.trim();
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl == null ? null : imgUrl.trim();
    }

    public Integer getEducation() {
        return education;
    }

    public void setEducation(Integer education) {
        this.education = education;
    }

    public Integer getExperience() {
        return experience;
    }

    public void setExperience(Integer experience) {
        this.experience = experience;
    }

    public Integer getCurrentState() {
        return currentState;
    }

    public void setCurrentState(Integer currentState) {
        this.currentState = currentState;
    }

    public String getMyDesc() {
        return myDesc;
    }

    public void setMyDesc(String myDesc) {
        this.myDesc = myDesc == null ? null : myDesc.trim();
    }

    public Integer getExpectedWork() {
        return expectedWork;
    }

    public void setExpectedWork(Integer expectedWork) {
        this.expectedWork = expectedWork;
    }

    public Integer getProjectExperience() {
        return projectExperience;
    }

    public void setProjectExperience(Integer projectExperience) {
        this.projectExperience = projectExperience;
    }

    public Integer getEdcBgd() {
        return edcBgd;
    }

    public void setEdcBgd(Integer edcBgd) {
        this.edcBgd = edcBgd;
    }

    public String getMyCollection() {
        return myCollection;
    }

    public void setMyCollection(String myCollection) {
        this.myCollection = myCollection == null ? null : myCollection.trim();
    }

    public String getMySubsc() {
        return mySubsc;
    }

    public void setMySubsc(String mySubsc) {
        this.mySubsc = mySubsc == null ? null : mySubsc.trim();
    }

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}